n = 10
while n > 1:
    if n != 2:
        print(n)
        n -= 1
    else:
        break

print("-" * 10)

while n < 10:
    if n == 3:
        n += 1
        continue
    else:
        print(n)
        n += 1

